import {getData, postData} from '../utils/http'


let baseUrl='http://localhost:3000/api'

let home ={
    getHome : (params) => {
        return postData(baseUrl + '/house', params)
    },
    getHotCity: (params) => {
        return getData(baseUrl + '/house/hotcity', params)
    }
}

export default  home


